package ils.application;

import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;

/**
 * @author: Rejeev Divakaran
 * Date: 7/20/13
 */
public class Scheduler {
    private static Timer timer = new Timer(true);

    public static void schedule(TimerTask task, int timeInSec){
        timer.schedule(task, new Date(), timeInSec * 1000);
    }
}
